import cherrypy

from ws import voter

class Resources(object):
    vote = voter.Voter()

    @cherrypy.expose 
    def index(self):
        return "Dynamic Pages: <a href='/bh/vote/'>Vote ws</a>  " + "<br/>Static Pages: <a href='/bh/map.html'>bike map</a>"
 
cherrypy.quickstart(Resources(), "/", "vote/cherrypy.config")
